<?php
$file=basename(__FILE__, '.php');
include "../Lib/pivote.php";
ruta($file);
include "../Lib/class.funcAdministra.php";
include "../Lib/class.session.php";
include "../../Lib/php/funciones.php";

$admin = new funcAdministra(Srv,Usr,Pass,base);

import_request_variables("gP");

$nEstado = $_REQUEST["nEstado"];
$nUSMIS = $_REQUEST["nUSMIS"];

$admin->eliminaRegistro($opcion);

//echo "<label style='color:red; font-face:Verdana'>El registro se ha eliminado satisfactoriamente</label>";

?>
<script language="javascript" type="text/javascript" src="../ssa_admin/js/prototype.js"></script>
<script language="javascript" type="text/javascript" src="../ssa_admin/js/core.js"></script>
<script language="javascript" type="text/javascript">
    alert("El registro ha sido eliminado");
    showListUser('divListado', 'listado_duplicados.php', {nUSMIS: <?php echo $nUSMIS; ?>, nEstado: <?php echo $nEstado; ?>});
</script>
